#!/user/bin/env node

const http = require('http'),
      cp = require('child_process');


console.log('i am father pid:',process.pid);

http.createServer((req,res)=>{
  let child = cp.spawn('node',['./03-child.js']);
  child.stdout.pipe(res);
}).listen(8080);
